<script type="text/javascript">

$(function(){
	//$("input[name='branchNo']").val("10000002");
	//$("input[name='empNo']").val("333");
	$.get("inventorymanagement/loadDistributeInfoByReg",loadDistributeInfoByReg,"json");
	$("#submitDistribution").click(function(){
		var formData = $("form").serialize();
		formData = decodeURIComponent(formData,true);
		$("input[name='serializeFormByDistribute']").val(formData);
	});
	$("#returnBack").click(function(){
		var taskNo = $("input[name='distributeTaskNo']").val();
		$("#returnBack").attr("param",taskNo);
	});
	
})
</script>
<form method="post" action="inventorymanagement/submitDistributeInfo" class="pageForm required-validate" onsubmit="return validateCallback(this,printViewPageAjaxDone);" >	
	<!-- <input name="Busiparatasked" type="checkbox" style="display:none" value="xxxxxxxxxxx" checked> -->
		<div class="pageFormContent" layoutH="400">	
			<!-- <p>
				<label>出库流水号：</label>
				<input id="storageNoByDistributionByReg" name="storageNo" size="20" value="" readonly="readonly">	
			</P> -->
			<p>
				<label>配送任务号：</label>
				<input id="distributeTaskNoByReg" name="distributeTaskNo" size="20" value="" readonly="readonly">	
			</P>
			<p>
				<label>卡片数量：</label>
				<input id="cardAmountByReg" name="cardAmount" size="20" value="" readonly="readonly">	
			</P>
			<p>
				<label>配送日期：</label>
				<input id="distributeDateByReg" name="distributeDate" size="20" value="" readonly="readonly">	
			</P>
			<p>
				<label>网点编号：</label>
				<input id="branchNoByReg" name="branchNo" size="20" value="" readonly="readonly">
			</p>
			<p>
				<label>员工编号：</label>
				<input id="empNoByReg" name="empNo" size="20" value="" readonly="readonly">		
			</P>
			<p>
				<input  name="serializeFormByDistribute" class="" type="text" style="visibility:hidden;" />		
			</P>
		</div>
		<table class="table" width="800" layoutH="298">
			<thead>
				<tr>
					<th width="2%" >序号</th>
					<th width="4%" >卡号</th>
					<th width="3%" >卡产品名称</th>
					<th width="3%" >卡片有效标志</th>
					<th width="3%" >制卡商</th>
					<th width="3%" >配送原因</th>
					<th width="3%" align="center" style="display:none;">卡产品代码</th>
					<th width="3%" align="center" style="display:none;">制卡商代码</th>
					<th width="3%" align="center" style="display:none;">配送原因代码</th>
					<th width="3%" align="center" style="display:none;">卡控制Id</th>
				</tr>
			</thead>
			<tbody id="ditributeDetailByReg">
				
			</tbody>
		</table>

		<div class="formBar">
			<ul> 
				<li>
					<div class="buttonActive" ><div class="buttonContent" >
					<button type="submit" id="submitDistribution">提交</button></div></div>
				</li>
				<!-- 可以将登记画面的信息传入请求，记住信息，然后刷新画面 -->
				<li>
					<a id="returnBack" class="buttonActive" href="inventorymanagement/distributionRejectTask"
					target="navTab" rel="cardDistribution" param="" title="网点废卡配送test"><span>返回</span></a>
				</li>
	
			</ul>
		</div> 
	
</div>
</form>